<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>  

<form:form name="frmBase" modelAttribute="base" action="base.save" method="post" role="form" cssClass="form form-horizontal">
    <form:hidden path="id" />
    <div class="form-group">
        <label class="col-sm-1 control-label" for="annee">Année</label>
        <div class="col-sm-4">
            <form:input path="annee" placeholder="Année" required="true" class="form-control" />
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-1 control-label" for="debut">Début</label>
        <div class="col-sm-4">
            <form:input path="calendrier.debut" placeholder="Début" required="false" class="form-control" />
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-1 control-label" for="fin">Fin</label>
        <div class="col-sm-4">
            <form:input path="calendrier.fin" placeholder="Fin" required="false" class="form-control" />
        </div>
    </div>
</form:form>